<div class="round-corner white">
	<div style="margin:30px">
	
	<div id= "send_form">
	<form class="form-horizontal"  action="/index.php/message/insert_comment" method="post" >
        <fieldset>
          <legend>Comment to: </legend><h1>{$caption}</h1>
          
           <div class="control-group">
             <label class="control-label" for="content"> </label>
             <div class="controls">
             {if $m_target_type eq 'photo'}
              <img src="/uploads/{$m_target}.jpg"></img>
             {else}
              <h2>{$content.m_content}</h2>
             {/if}
             
              {if $comment}
			   <ul>
		       	{foreach from=$comment item=row}
		       	<li>
		      		<h2>{$row.user_from} says:</h2><p>{$row.m_content}</p>
		      	</li>
		      	{/foreach}
		      	</ul>
		       {/if} 
		       <br/>
              <h4>Say Something:</h4>
              <textarea class="input-xlarge" style="margin:0;width:500px;" id="content" name="content" rows="5" > It is such a nice picture......</textarea>
            	 
           	 </div>
           </div>
           <input type="hidden" name="m_target" id="m_target" value="{$m_target}"/>
           <input type="hidden" name="m_target_type" id="m_target_type" value="{$m_target_type}"/>
           <input type="hidden" name="user_to" id="user_to" value="{$user_to}"/>
           
	            
          <div class="form-actions">
            <input type="submit" class="btn btn-primary" value="Submit"></input>
            <input type="button" class="btn" onclick="javascrpt:close_reg_form()" value="Cancel"></input>
          </div>
          <input type="hidden" name="username" id="username" value="{$username}"/>
           
        </fieldset>
      </form>
      
    </div>
    </div>
</div>